package thread;

/**
 * Created with IntelliJ IDEA.
 * Description: 验证Thread对象只能调用一次
 * User: 王圆豪
 * Date: 2025-04-23
 * Time: 18:35
 */
public class Demo9 {
    public static void main(String[] args) {
        Thread thread = new Thread(()->{
            System.out.println("Hello thread!");
        });

        thread.start();
        thread.start();
    }
}
